title: Liquid filter to strip HTML comments
body: <p>Is there any way to remove HTML comments from a string using Liquid? Here is my current code:</p>
  
  <pre><code>{{ post.content | strip | xml_escape }}
  </code></pre>
  
  <p>Is there any way to do something like:</p>
  
  <pre><code>{{ post.content | strip | xml_escape | strip_comments }}
  </code></pre>
  
  <p>That removes all HTML comments? I could do this with RegEx and replace (<code>/&lt;!--.--&gt;/g</code>), but liquid doesn't support that.</p>
  
  <p>It is for an RSS feed, so I cannot use any JavaScript.</p>