public static int skipSingleLineComment(String args, int startIndex, int len) {
        int index = args.indexOf('\n', startIndex);
        return index > startIndex ? index + 1 : len;
    }
Skip single line comment.

@param args       non-null string to scan
@param startIndex start index, optionally start of the single line comment
@param len        end index, usually length of the given string
@return index of start of next line, right after {@code \n}
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseUtils.java