Comment out a python code block
- by gbarry
Is there any mechanism to comment out large blocks of Python code? Right
now the only ways I can see of commenting out code are to either start
every line with a #, or to enclose the code in """ (triple quotes),
except that actually makes it show up in various doc tools.
Edit--After reading the answers (and referring to the "duplicate"), I have concluded the correct answer is "No". One person said so, and the rest lectured us about editors. Not a bad thing, but I feel it's important to put the answer at the top.