The U.S. has warned Pakistan that it will withhold $300 million in military assistance if Islamabad doesn’t do more to crack down on militants targeting U.S. and Afghan troops in Afghanistan, senior Obama administration officials said.

If Washington follows through, it would be the first time that Pakistan pays financially for playing what the country’s critics call a double game—partnering with the U.S. while allowing Afghan insurgents safe harbor.

...