code: static Comment asEngineComment(final IComment comment) {
          if (comment instanceof Comment) {
              return (Comment) comment;
          }
          return new Comment(comment.getContent(), comment.getTemplateName(), comment.getLine(), comment.getCol());
      }
docs: Meant to be called only from within the engine