It's quite a good question, maybe not well formulated. Airspace is part of a country's sovereign territory, in the same way as are its territorial waters. Unlike territorial waters, however, there is no internationally recognised (vertical) limit to sovereign airspace - it's normally regarded as 'as high as an aircraft can fly'.
If you have flown over China, you have certainly been within Chinese territory.