A Beijing representative said that China was "seriously concerned by the violations of the rights of refugees and migrants" in countries like the US.