Humidity would only be a factor in isolation wouldn’t it?
If you look at two samples of air at the same temperature and pressure - the more humid air would be less dense as you said.
In our actual environment though, more humid air would be accounted for by the temperature and /or pressure increasing, which is taken into consideration.