China's total imports and exports expanded 22.7 percent year on year in the first three quarters of 2021, official data showed Wednesday.