Fix typo in HTML Comment processing code where the wrong variable was be...

...ing incremented.    This caused a hang.