Comment/uncomment a block of code in NetBeans shortcut April 6, 2023 by Tarik Try this combination in the Netbeans Editor: ctrl + shift + c