I have been there too. That feeling of complete hopelessness is horrible. At times I felt like it wouldn't pass but it always does, even if it comes back at a later time. Keep holding on. I agree with Gayle. Try going for a walk outside. I know how difficult it is to do this when you have no motivation, but I think the fresh air and the little bit of exercise helps a bit. If anything it may distract you for a little bit at the very least.
I wish you luck