Is there a shortcut in NetBeans to highlight a block of code and comment/uncomment it?
Try this combination in the Netbeans Editor: ctrl + shift + c