Help for this page
cat t.xml | perl -e '$/ = ""; $_ = <>; s/<!--.*?-->//gs; print;'
<Node_A> ... </Node_B> </Node_A>