Removes comments in imager