Trump did make disparaging remarks about wind farms, including claiming China has very few and describing windmills as expensive, ugly, and damaging to property values, but these claims are factually inaccurate or misleading.
Trump: I asked Xi how many wind farms do you have? They don't have a lot. Very few. Wind is tremendously expensive and very ugly. If you want a house inside of a windmill, your house is worth than less half. And you hear noises.

FactVerify
Source: factverify.com
What the Evidence Shows
The claim attributes to Donald Trump a statement where he says he asked Chinese President Xi Jinping how many wind farms China has, asserting that China has very few. Multiple sources confirm Trump has expressed strong negative opinions about wind turbines, calling them 'garbage,' 'very ugly,' and stating they reduce nearby property values by more than half. He also mentioned noise issues and environmental concerns such as whale deaths near offshore turbines.
However, fact-checking sources highlight that China is actually a world leader in wind energy with a large number of wind farms, contradicting Trump's claim that China has very few. The assertion about property values being cut by more than half is an exaggeration and not supported by broad evidence. Trump's comments have been widely criticized as inaccurate or misleading.
Therefore, while the quote reflects Trump's actual rhetoric, the factual basis of the claims within it is mostly false.