doc/commands: rename `CmdComment::render` to `render_comment` to avoid name conflicts