title: Why do I need to comment the <script> tag in HTML?
body: <p>Most examples I've seen have scripts in a html page being enclosed by</p>
  
  <pre><code>&lt;!--
  ...
  --&gt;
  </code></pre>
  
  <p>I've tried writing it without the comment tags and there doesn't seem to be any difference. Why is the comment tag used and what function does it serve?</p>