How do I designate pension income fom a 1099-R as military pension income on the New York Tax return so it's not included as taxable income?

It looks like the Federal AGI is pulling into the New York form includes my military retirement income. New York exempts Military Retirement from taxable income but I don't find a way to do it.