title: Commenting out Content - HTML and PHP
body: <p>I am currently tweaking a BigCommerce theme for my employer. They have asked me to remove and change a few CSS / HTML elements to fit the style and functionality that they are after. </p>
  
  <p>Rather than just DELETING the functionality within the theme, I was hoping to just comment it out in case it is needed later. But I am having an issue with the formatting.</p>
  
  <p>The following is the code as displayed in the ProductDetails.html Panel file:</p>
  
  <pre><code>    &lt;div class="Content" id="prodAccordion"&gt;
          %%Panel.ProductTabs%%
          %%Panel.ProductDescription%%
          %%Panel.ProductVideos%%
          %%Panel.ProductWarranty%%
          %%Panel.ProductOtherDetails%%
          %%Panel.SimilarProductsByTag%%
          %%Panel.ProductReviews%%
          %%Panel.ProductByCategory%%
          %%Panel.SimilarProductsByCustomerViews%%
      &lt;/div&gt;
  </code></pre>
  
  <p>I am trying to comment out the last 3 lines only.</p>
  
  <p>However, when I do, the end of the comment ( --> ) shows up in the browser. I have closed the comments correctly but there must be some simple concept that I am missing. Hoping the good people at SO can help. </p>
  
  <p>Below is the code as I have saved it and a screenshot of the display in my browser. The first screen shot is how it looks before I add any comments and the second is after I add them. You can clearly see the closing comment in the second image, can anyone tell me why?? </p>
  
  <p>Thanks in advance for any help. </p>
  
  <pre><code>    &lt;div class="Content" id="prodAccordion"&gt;
          %%Panel.ProductTabs%%
          %%Panel.ProductDescription%%
          %%Panel.ProductVideos%%
          %%Panel.ProductWarranty%%
          %%Panel.ProductOtherDetails%%
          %%Panel.SimilarProductsByTag%%
          &lt;!--%%Panel.ProductReviews%%--&gt;
          &lt;!--%%Panel.ProductByCategory%%--&gt;
          &lt;!--%%Panel.SimilarProductsByCustomerViews%%--&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/66IwC.png" alt="Before"></p>
  
  <p><img src="https://i.stack.imgur.com/HEuOr.png" alt="After"></p>