I have done HKG stops within the 24-hour window several times, deliberately stretching it to the maximum, staying overnight in HKG, etc. on CX and they never collected taxes. The tickets had x -- no stopover designator.
I hope this hasn't been changed.