Air Gap & Humidifier drain line

It is correct to drain the humidifier into the air gap of a condensate line?
Thanks!

yes as long as the condensate line is a indirect waste

Thanks! Charley, it discharges into the floor drain.