For those working in text editors or Integrated Development Environments (IDEs), there are often built-in features that simplify the process of commenting out multiple lines. Let’s take a closer look at how this is done in Visual Studio Code (VSCode), one of the most popular editors for Python development.
Editors like VSCode allow you to add opening and closing quotation marks around selected text. So you can select the block of code you want to comment out, then type three quotation marks to effectively comment out that code.
this is a new comment
This is my Comment and I am doing this
this is a reply
yues do it