You cannot add comments in the Diagram tab.

To add comments in the Tree tab:
1. Click any node in your schema.
2. In the left tool bar, click New Comment . In the Tree view, Stylus Studio displays a field for the comment.
3. Type your comment and press Enter.
Free Stylus Studio XML Training: