I think if you like a friend you should tell them, I had a friend tell me they liked me and I rejected him, mostly because I was fresh out of a relationship and didn’t want to date anyone or make him my rebound. We are still besties tho. I think it was best that we didn’t date, especially with me not being over my ex, if we had dated/had sex I don’t think our friendship would have survived.