adds html snippet for closing comment