common_helper/src/main/java/com/xiongyingqi/util/xml/XmlValidationModeDetector.java
private String consume(String line) {
        int index = (this.inComment ? endComment(line) : startComment(line));
        return (index == -1 ? null : line.substring(index));
    }
private String consume(String line) {
        int index = (this.inComment ? endComment(line) : startComment(line));
        return (index == -1 ? null : line.substring(index));
    }
Consume the next comment token, update the "inComment" flag
and return the remaining content.