code: protected void serializeComment(Comment node) throws SAXException {
          // comments=true
          if ((fFeatures & COMMENTS) != 0) {
              String data = node.getData();
  
              // well-formed=true
              if ((fFeatures & WELLFORMED) != 0) {
                  isCommentWellFormed(data);
              }
  
              if (fLexicalHandler != null) {
                  // apply the LSSerializer filter after the operations requested by the 
                  // DOMConfiguration parameters have been applied 
                  if (!applyFilter(node, NodeFilter.SHOW_COMMENT)) {
                      return;
                  }
  
                  fLexicalHandler.comment(data.toCharArray(), 0, data.length());
              }
          }
      }
docs: Serializes a Comment Node.
  
  @param node The Comment Node to serialize