Thats a win-win. Honestly I like the fact that China has a bad international reputation for taking in the recent wave of refugees mainly going to Europe and Turkey. It would cause less trouble for the host nation in the future, I think anyone well intentioned for the host nation and in the right mind would agree. No one wants trouble making population within their borders (even if they are local), I'm sure Pakistan doesn't either and that attitude is understandable and I respect that.
Technically speaking there are some "refugees" (but not refugee status) in China that are foreign Muslims but they tend to be fluent in Mandarin, some previously studied in China, have money, their own business/professionals. They came from War torn countries like Yemen and Iraq, and seek temporary refuge before returning to their homeland. They provide for themselves and contribute during their stay.
Rohingya is not compatible with the local population and society in China and the country's border is far from their place of origin, increasing the chances of trouble in the future. It doesn't matter what their religion is, change their religion or take it away they would still be incompatible with Chinese society.
Are they highly educated? Can they contribute to Chinese society? Else they would be living off government handouts in refugee camps. This is not ideal for their personal development, social outlook and opportunities for their decedents. However I would support China helping out other nations hosting refugees and participate in the rebuilding of their homeland after the war.
I understand that many feel like Pakistan is for all Muslims but Chinese perspective of Pakistan is based on a nation state with a particular set of people and culture. The perception is that Pakistan doesn't equal all Muslims. Should all the troubles of the Islamic world be placed on Pakistan?