being friendly with a boy you aren’t romantically/physically attracted to and him developing feelings for you isn’t your fault, nor does it mean you were “leading him on”. you are under no obligation to date him.
This works the other way around too. I’ve developed a crush on my best friend and he knows and he doesn’t feel the same. And he is in no way or form guilty of anything and not obliged to do anything. Just saying.