Multiple errors, it should be:
$("body").html(function(i,h){return h.replace(/<!--|-->/g,'')})
jQuery is awesome (is even my nickname!) but sometimes plain Javascript does the trick pretty well.