code: public void writeComment(final String data) throws SAXException {
          processStartElement();
          final char[] ch = data.toCharArray();
          transformer.comment(ch, 0, ch.length);
      }
docs: Write comment.
  
  @param data comment data
  @throws SAXException if processing the event failed