I found that if you put the code in the tepe specified comment '''comment''', it acts like NOOP, so you can put a triple-quoted comment that will act like NOOP if the code is deleted or commented out with #,
In the above case:
if state == False:
'''this comment act as NOP'''
print "Here I'm not good do stuff"
else:
'''this comment act as NOP and also leaves the
else branch visible for future implementation say a report or something'''
source
share