code: @Override
      public void addComment(XmlElement xmlElement) {
  
          if(suppressAllComments) return;
  
          String id = getID(xmlElement);
  
          // if user doesn't supply the specified comment the use the default
          String comment = comments.getString(id);
          if(StringUtils.isEmpty(comment)){
              comment = defaultComments.getString(id);
          }
          if(StringUtils.isNotEmpty(comment)) {
              addBeforeSelfInParent(xmlElement, comment);
          }
      }
docs: /*
  Adds a suitable comment to warn users that the element was generated, and
  when it was generated.