Question: have popes ever been married?
Answer: Popes Hormisidas, Clement IV, and Honorius IV were all married and widowed before being ordained. Pope John XVII was married before being ordained, and my quick Google search doesn't reveal whether his wife lived into his papacy, but it seems she was at least alive at the time of his ordination.