|Block Comment||Ctrl + K + C|
|Block Uncomment||Ctrl + K + U|
Comment Code Block Ctrl+K+C/Ctrl+K+U Whether it's because you're trying to track down a "but," or experimenting with code change, from time to time you'll want to comment and uncomment blocks of code. If you select a block of code and use the key sequence Ctrl+K+C, you'll comment out the section of code. Ctrl+K+U will uncomment the code.