Comment Empty Lines

By default commenting of the code skip empty lines and do not place comment mark on them.

This code:

var a = 1;
 
a = a + 10;

To enable commenting of empty lines too, and getting something like this:

//var a = 1;
//
//a = a + 10;

add into <Formatting> section settings.xml following key:

<Formatting>
        <CommentEmptyLines>true</CommentEmptyLines>
</Formatting>

xml option