Anti-Muslim sentiment is rare in China. Chinese people really, really like Pakistan, which is a Muslim country. Many Chinese people know about the great Turkic, Arab, and Iranian empires of the past, so there is a lot of respect for the Muslim world in China. Unfortunately, Westerners associate the Middle East with terrorism, but based on my conversations with other Chinese people, Chinese people generally associate the Middle East with good-looking people and delicious food. They don't dislike Muslims at all. I remember reading somewhere that the average person in Eastern China is around 5-10% Central Asian (Turkic), so that's another reason for Chinese people to like Muslims and the Middle East.
Might be because China has been exposed personally to Muslims for far longer than the West. If I am not mistaken, the Hui Muslims had been living in eastern China since the 8th century, well-integrated into local society, given positions of authority in local governments, high-ranking military officials, and even a few provincial governors. If I remember correctly, there were also Hui fighting each other on opposite sides in the early PRC/ROC conflict (indicating how well assimilated they were in society). These are the guys you'll never hear of in Western media because their existence destroys Western propaganda.
The Mongols (Yuan) also brought many Persians to the empire (after conquering Khwarezm) to serve as government officials and military commanders, whom eventually settled permanently in eastern China.
Governors of Yunnan, some Persian generals who led the Mongol expedition into Vietnam, Zheng He, the "Ma clique", Feng Sheng, Lan Yu.. few notable that come to mind.
This sort of assimilation and development has never occurred for Muslims in the West, not even among the Europeans who were exposed on a large scale to Muslims, i.e. in Sicily (Italy), Andalusia (Spain), etc. They were either expelled from the realm, forcefully converted to Christianity, or killed off.