Last year, China generated 834 terawatt-hours of solar power.
Which is more than the G7 countries generated, and more than the US and EU combined. In fact the only country group that generates more solar power than China is the OECD, all 38 countries of it.
Data: @ember-energy.org
Source: https://bsky.app/profile/nathanielbullard.com/post/3lsbbsg6ohk2j
They also expanded coal power, roads, and removed their population limiting policies, though. They produce about 3 times as much CO2 per person as India, Indonesia, and many South American nations, likely many nations in Africa as well but theres a lot of missing data.