The mayor of Temoac, a municipality in the central Mexican state of Morelos, was shot and killed inside government offices Wednesday, authorities said, marking the latest attack on a local official in a country where nearly 100 mayors have been murdered since 2006.