adapt comments and line feeds