The US has banned government personnel based in China from having romantic or sexual relationships with Chinese citizens, the Associated Press reported citing people familiar with the matter.