I call BS......however...
He is still your friend or he would not have been honest with you. Tell him face to face that you don't swing that way, but that you appreciate his honesty. Be his friend. But, tell him if he ever hits on you even once that you will goosestep his head into the pavement. He will respect your wishes if he is truly your friend.