A/c can and do freeze in a cold soak condition on the ground. Normal practice is to drain the Potable water system if a cold soak is forecast.
The pipework outside the conditioned area is heated in the air to maintain it above freezing. (Airbus certainly,dunno Boeing)
In days of yore the Comet used to freeze for England.