Add a Comment to a Snippet Add a comment to a snippet to share information with other developers. To add a comment to a snippet: Open the snippet. Scroll down to the Comments section. Enter the comment in the comment box.Use the project’s wiki markup language to format the comment. Click Add.