Hong Kong does not pay taxes to mainland China, and it’s GDP isn’t included in China’s GDP calculation.
What I find interesting is that Macau is in the same position as Hong Kong, former colony, 1 country 2 systems, but it’s GDP per capita is double that of HK, and there have been no protests in Macau.
https://www.scmp.com/topics/hong-kong-protests