BEIRUT, Lebanon — A large explosion killed at least 42 people inside a central Damascus mosque on Thursday, including the top Sunni cleric in Syria, one of the major remaining Sunni supporters of President Bashar al-Assad’s embattled government in the civil war.