title: How to comment out a block of code in Python
body: <p>Is there a mechanism to comment out large blocks of Python code?</p>
  
  <p>Right now, the only ways I can see of commenting out code are to either start every line with a <code>#</code>, or to enclose the code in triple quotes: <code>"""</code>.</p>
  
  <p>The problem with these is that inserting <code>#</code> before every line is cumbersome and <code>"""</code> makes the string I want to use as a comment show up in generated documentation.</p>
  
  <p>After reading all comments, the answer seems to be "No".</p>