If it is any 'comfort' to you, I've made the same mistake myself. = It might give you 'comfort' to know that I've made the same mistake myself.
When we went out for drinks together, I realized we were getting 'too close for comfort'. [=we were getting closer than I wanted to be]
Knowing that I can rely on your help is a 'comforting' thought. = It is 'comforting' to know that I can rely on your help.
(..) He conspired with Robert's brothers against my beloved Joffrey and tried to steal his throne. The Lannisters are treating me well and providing me with every comfort. I beg you, come to King's Landing, swear fealty to King Joffrey and prevent any strife between the Your faithful sister, Sansa. (..)2017 TvShow: Game of Thrones Title: Beyond the Wall Season: 7 Episode 6