That's not what the data I had linked above seems to indicate (2023 to 2024 it went from 5.7 to 5.8 TWh)
And it keeps building coal power plants: https://www.sustainabilitybynumbers.com/p/china-coal-plants, though the article is also optimistic that China is at/about to reach peak coal.
And it's also funding coal power plants abroad, thought the scale doesn't seem that big compared to their domestic production: https://oilprice.com/Latest-Energy-News/World-News/China-Con...