presto-cli/src/main/java/io/prestosql/cli/InputHighlighter.java/InputHighlighter/isComment
class InputHighlighter:    private static boolean isComment(int type)
    {
        return (type == SqlBaseLexer.SIMPLE_COMMENT) ||
                (type == SqlBaseLexer.BRACKETED_COMMENT);
    }