Use regular expression instead of a state machine to remove HTML comments
Add multiline nested comment unit test
Move newline retention to a separate subroutine
Word wrap the POD