What version of Eclipse are you using?
I just tried this in Eclipse 4.3.1, and it seems to work exactly as you want. Even better, if your code does end up like in your second code block, the formatter actually indents that first //@formatter:off
block to the correct indentation.
Perhaps you need to upgrade your version of Eclipse?