format and modify comment