code: @Override
      protected String doRender(final RenderConfiguration config, final Comment comment) {
  
          // Check sanity
          final StringBuilder builder = new StringBuilder(config.getNewline() + config.getIndent());
          final List<String> commentLines = comment.getCommentLines();
  
          if (commentLines.size() == 1) {
  
              // Use a '//' single-line comment
              builder.append("// ").append(commentLines.get(0));
  
          } else if (commentLines.size() > 1) {
  
              // Use a '/*' ... '*/' multi-line comment
              builder.append("/* ").append(config.getNewline());
              for (String current : commentLines) {
                  builder.append(config.getIndent()).append(" * ").append(current).append(config.getNewline());
              }
              builder.append(config.getIndent()).append(" */");
          }
  
          // All Done.
          return builder.toString() + config.getNewline();
      }
docs: {@inheritDoc}