China called on the United States on Friday not to pass legislation in response to a crisis in Hong Kong over a proposed extradition law.