There is no separate formatting setting for a static block. For formatting purposes, it appears to be treated like any other member variable (as opposed to a function or some other construct).
There is another way to end up with the formatting you want. If you set the format parameter Blank Lines-> Existing Blank Lines-> Number of empty lines to 1, then you can manually add an empty line in front of the static block, and the formatter will not delete it.

source share