No it is usually done leg by leg. I.e. they will add up the YQ however there are multiple ways around this like flying to cities which do now charge tax/do not allow this such as GIG and HKG. So even if you fly on AC to those cities you will not pay YQ