trim docline comments