in reply to Comment Removal

I think you've missed out just a bang and a star:

$question =~ s/<!--[^<>]*-->//g;