code: private void addCommentTags(Doc doc, Tag holderTag, Tag[] tags, boolean depr,
              boolean first, Content htmltree) {
          if(configuration.nocomment){
              return;
          }
          Content div;
          Content result = commentTagsToContent(null, doc, tags, first);
          if (depr) {
              Content italic = HtmlTree.SPAN(HtmlStyle.deprecationComment, result);
              div = HtmlTree.DIV(HtmlStyle.block, italic);
              htmltree.addContent(div);
          }
          else {
              div = HtmlTree.DIV(HtmlStyle.block, result);
              htmltree.addContent(div);
          }
          if (tags.length == 0) {
              htmltree.addContent(getSpace());
          }
      }
docs: Adds the comment tags.
  
  @param doc the doc for which the comment tags will be generated
  @param holderTag the block tag context for the inline tags
  @param tags the first sentence tags for the doc
  @param depr true if it is deprecated
  @param first true if the first sentence tags should be added
  @param htmltree the documentation tree to which the comment tags will be added