@Just-ugh Well you have to ask yourself Would I rather let them know I feel and potentially risk loosing them? Or would I rather keep these feelings to myself and be left not knowing what could be?
Personally, I would let my friend know if I have feelings for them. For me, if I have feelings for someone and don't express it then it pains me to keep it inside and still have to be around them. For that reason I would much rather tell them and risk loosing them than not tell them at all.