escape properly \n into comments