# How to ignore comments in html text

**URL:** <https://forum.kirupa.com/t/how-to-ignore-comments-in-html-text/297131>\
**Category:** flash\
**Created:** [September 26, 2009, 2:13am UTC](https://forum.kirupa.com/t/how-to-ignore-comments-in-html-text/297131 "2009-09-26T02:13:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CayoHueso](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@CayoHueso](https://forum.kirupa.com/u/CayoHueso)\
**Post date:** [September 26, 2009, 2:13am UTC](https://forum.kirupa.com/t/how-to-ignore-comments-in-html-text/297131/1 "2009-09-26T02:13:45Z")

</div>

Hi,

I have an html file that includes some comments \<!-- --\> and when I load it into a textField in a Flash movie, there is an empty line where the comment is. How to eliminate the empty line, if I want to keep the comment in the HTML file?

Thanks,
