How to not accidentally friend-zone someone?

Well there's this guy and im pretty sure he likes me, when he gives me advice or comforts me the thought runs through my head to say something like "Aw your such a good friend!" what could I say so I don't friendzone him when it happens again
How to not accidentally friend-zone someone?
Post Opinion