How do lenders treat student loans with a $0 required monthly payment for mortgage qualification?

For student loans with a $0 required payment (due to IDR, deferment, or forbearance), lenders typically impute a 'phantom payment' for debt-to-income (DTI) ratio calculation, often 0.5% to 1% of the outstanding balance, rather than using the actual $0.