Because the title states, I made an Ajax call to some .html file which incorporated html tags and html comments.

However sometimes (and it is not reproducible each time) the fact is came back with the HTML comments removed out. Just the HTML tags remain.

The comment tags are crucial towards the .html file b/c it's a part of the way we do template rendering.

We operate a typical Light stack (Apache), in the event that helps. Does Apache sometimes strip tags at random from .html files?

Thanks greatly ahead of time.

It is possible that apache strips comments out of your HTML files:

Perhaps you have verified that the ajax responseText doesn't contain any comments?