US officials in China have asked local authorities to refrain from subjecting US staff in the country to Covid-19 anal swabs, according to a US diplomat based in China.