public static int skipMultiLineComment(String args, int startIndex, int len) {
        int commentLevel = 1;

        for (int i = startIndex; i < len; i++) {
            char ch = args.charAt(i);
            boolean hasNext = i < len - 1;
            if (ch == '/' && hasNext && args.charAt(i + 1) == '*') {
                i++;
                commentLevel++;
            } else if (ch == '*' && hasNext && args.charAt(i + 1) == '/') {
                i++;
                if (--commentLevel == 0) {
                    return i + 1;
                }
            }
            if (commentLevel <= 0) {
                break;
            }
        }

        throw new IllegalArgumentException("Unclosed multi-line comment");
    }
Skip nested multi-line comment.

@param args       non-null string to scan
@param startIndex start index, MUST AFTER the beginning of the multi-line
                  comment
@param len        end index, usually length of the given string
@return index next to end of the outter most multi-line comment
@throws IllegalArgumentException when multi-line comment is unclosed
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseUtils.java