replace comments support