Well, if you have talked to him about this before and he straight up told you that you guys are just friends then i think that's all it is to it. Sometimes, when you really like someone their actions can come off a lot more meaningful then it really is. If you really feel that he has some sort of feelings for you but just isn't saying it, then approach him one more time about it. Dont be too pushy about it though or he'll feel weird or creep ed out about it. &if he says once again that he doesn't feel the same way then i think you should just drop it and be friends before the friendship is ruined. Hope i helped. Good luck!
- Macy. (: