Hamlet is pretty depressed and yes, evin suicidal. He contemplates killing himself but finds that he lacks the courage to go through with it. It is Hamlet's wit and philosophical bent that enables Hamlet to play with conventions of standard sin and thought.