title: Remove XML comments using Regex in bash
body: <p>I want to remove XML comments in bash using regex (awk, sed, grep...) 
  I have looked at other questions about this but they are missing something. Here's my xml code</p>
  
  <pre><code>&lt;Table&gt;
      &lt;!--
     to be removed bla bla bla bla bla bl............
  
      removeee
  
      to be removeddddd
      --&gt;
  
  &lt;row&gt;
          &lt;column name="example"  value="1" &gt;&lt;/column&gt;
      &lt;/row&gt;
  &lt;/Table&gt;
  </code></pre>
  
  <p>So I'm comparing 2 xml files but I don't want the comparison to take into account the comments. I do this</p>
  
  <pre><code>diff file1.xml file2.xml | sed '/&lt;!--/,/--&gt;/d'
  </code></pre>
  
  <p>but that only removes the line that starts with <code>&lt;!--</code> and the last line. It does not remove all the lines in between.</p>