Question: how to comment out multiple lines in visual studio code?
Answer: 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.