You could literally say anything, just as long you let them express their feelings.
Never say it's ok or it's alright! Feeling of suicidal simply means they are not feeling alright! You should lend them your ears to listen to all their problems or your shoulders for them to cry on. The most powerful sentence, I think, is "You can always count on me, and I am always here for you!"