title: Classic ASP parsing bug when the page contains IE conditional comments
body: <p>I think i have identified a bug in the way ASP handles IE conditional comments (or html comments in general)..</p>
  
  <p>In theory it should not handle them at all since they are meant for the client-side..</p>
  
  <p>In practice ..</p>
  
  <pre><code>&lt;!--[if IE 6]&gt;
  &lt;!--include virtual="emptyfile.asp"--&gt;
  &lt;![endif]--&gt;
  </code></pre>
  
  <p>will return</p>
  
  <pre><code>&lt;![endif]&gt;
  </code></pre>
  
  <p>Yes, you read that correctly.. it will remove the opening of the comment include whatever is in the file and keep the closing comment tag..</p>
  
  <p>This of'course will mess up the html and of'course make whatever was for the IE to be executed for all...</p>
  
  <p>there are obvious workaround such as using <code>server.execute</code> to include your file instead of the include directive, which will work as expected.. </p>
  
  <p>Most likely it confuses the ending <code>--&gt;</code> of the include directive with the opening <code>&lt;!--</code> of the html comment.. <strong>But it should not bother with html comments at all..</strong></p>
  
  <p>Is there a know reason this happens in this way ? or is it just a bug ?</p>