comment in visual studio code code example Example: how to set section of code in comment visual studio Comment Code Block Ctrl+K+C undo Comment Code Block Ctrl+K+U