Fix comment filter

When comment filter enabled, the comment was being added to the begging and the end. ex: 

```
<!-- .class-one --><div class="class-one">
</div>
<!-- .class-one -->
```

Only need the one comment at the end.  That also doesnt need to be on a new line.  Same line as the ending tag. So it becomes

```
<div class="class-one">
</div><!-- .class-one -->
```