Issue
Is there a shortcut in NetBeans to highlight a block of code and comment/uncomment it?
Solution
The list of keyboard shortcuts can be found in the rel="noreferrer">NetBeans Wiki.
Turn On/Off Search Result highlights
Alt + Shift + H
Add/remove comment. Should work for all languages
Ctrl + / or in mac ⌘ + /
Answered By - lofte
Answer Checked By - Mildred Charles (JavaFixing Admin)