comment out lines python code example
Example 1: Single line Commenting in Python
#This line won't be printed
Example 2: comment sections of code python
For editing in VSCode, highlight code block, then: Edit>>Toggle Line Comment
#This line won't be printed
For editing in VSCode, highlight code block, then: Edit>>Toggle Line Comment