update-copyright: generalize comment handling