code: public void comment(char[] ch, int start, int length) throws SAXException {
  		if (dtdRange) {
  			// DTD section
  			if (preserveDTD) {
  				this.docTypeText += "<!--" + new String(ch, start, length)
  						+ "-->";
  			}
  		} else {
  			if (preserveComment) {
  				try {
  					encoder.encodeComment(ch, start, length);
  				} catch (Exception e) {
  					throw new SAXException("comment", e);
  				}
  			}
  		}
  	}
docs: /*
  ======================================================================
  Interface LexicalHandler
  ======================================================================