- Use Edit -> Comment/Uncomment (standard keyboard shortcut: Ctrl-Shift-Q). This surrounds the selection with the stream comment marks, when the lanuage supports them, like /* … */ in C or Java, or <!– … –> in HTML.
- For line comments:
- Edit -> Comment/Uncomment(standard keyboard shortcut: Ctrl-K). Adds line comment mark at the beginning of each line in selection. Current line is commented if nothing is selected.
- Edit -> Comment/Uncomment(standard keyboard shortcut: Ctrl-Shift-K). Removes line comment mark at the beginning of each line in selection.
- Edit -> Comment/Uncomment(standard keyboard shortcut: Ctrl-Q). Adds or removes line comment mark at the beginning of each subsequent line in selection.
Resources:
-http://docs.notepad-plus-plus.org/index.php/Comments