Closed
Description
If a HTML comment is the last entry in an indentation level, it expects the wrong level (always one indentation less).
For example the following example works as expected:
<div>
<br>
<!-- michalsnik rocks -->
<br>
</div>
But if the comment is the last entry, we'll get a Expected indentation of 0 spaces but found 4 spaces
error for the line of the comment:
<div>
<br>
<!-- michalsnik rocks -->
</div>
So it expects the comment to look like this:
<div>
<br>
<!-- michalsnik rocks -->
</div>
I'd say, it's probably not what the author usually wants. I'd say it might be best to ignore indentation check for comments altogether, as we can't predict if the developer wants to comment out the last row, or write a comment for the closing tag.