RoboHelp makes it easy to insert HTML comments in topics.
To insert an HTML comment, open a topic in the Design Editor and place the cursor where you wish to insert the comment. From the HTML section of the Insert tab, click on the Text Box dropdown menu and select Comment.
Type your comment in the Comment Editor in the following format - <!--a comment -> and click OK.