Consecutive comments on different levels of indentation

I'd like to be able to have consecutive comments on different levels of indentation. The formater assumes that all comments are on the level  of the last line of code. Example:

 

class A:
  def b(self):
    if True:
      while True:
pass
#
#
# END b
# END A

The formater destroys this. Is there a way to stop that?

 

Please sign in to leave a comment.