A car bomb exploded on Wednesday outside a police station in the Afghan capital, Kabul, wounding at least 34 people, government officials said.