parse stop and log comments without eval