This question already has answers here: What's a standard way to do a no-op in python? (4 answers) Closed 4 years ago .

Often I need to temporary comment some code, but there are situations like the following where commenting a single line of code will get a syntax error

if state == False: print "Here I'm not good do stuff" else: # print "I am good here but stuff might be needed to implement"

Is there something that might act as an NOOP to keep this syntax correct?