China intends to spend more than $360 billion through 2020 on renewable power sources like solar and wind, the government’s energy agency said on Thursday.

The country’s National Energy Administration laid out a plan to dominate one of the world’s fastest-growing industries, just at a time when the United States is set to take the opposite tack as Donald J. Trump, a climate-change doubter, prepares to assume the presidency.

The agency said in a statement that China would create more than 13 million jobs in the renewable energy sector by 2020, curb the growth of greenhouse gasses that contribute to global warming and reduce the amount of soot that in recent days has blanketed Beijing and other Chinese cities in a noxious cloud of smog.

China surpassed the United States a decade ago as the world’s biggest emitter of greenhouse gasses, and now discharges about twice as much. For years, its oil and coal industries prospered under powerful political patrons and the growth-above-anything mantra of the ruling Communist Party.