The target of the attack — which officials said was a suicide car bombing — was not immediately known, but Ismail Kawasi, spokesman of the public health ministry, said most of the casualties were civilians, including women and children. It was one of the worst attacks Kabul has seen since the drawdown of foreign forces at the end of 2014.