The shortcut for toggling comment on entire function that works for Javascript does not work in Python.
Is there some way to achieve equivalent functionality for Python?
Here's one way:
and then you're done. (The function is even unfolded automatically because it is commented out.)