A powerful car bomb exploded in the centre of Afghanistan's capital on Wednesday, killing or wounding dozens of people and sending clouds of black smoke into the sky above the presidential palace and foreign embassies, officials said.