code: boolean isComment(String line, boolean trim) {
      final String trimmedLine = trim ? line.trim() : line;
      for (String comment: getDialect().getSqlLineOneLineComments()) {
        if (trimmedLine.startsWith(comment)) {
          return true;
        }
      }
      return false;
    }
docs: Test whether a line is a comment.
  
  @param line the line to be tested
  @return true if a comment