Unfortunately, deferred student loans can still affect your debt-to-income ratio, even if you are not currently making any monthly payments.
If you have student loans that are deferred or in forbearance, the lender may include them anyway by adding the amount of 1 monthly payment or 1% of the balance into your DTI radio.