Yes, Mexico is safe for cruising, surfing and living.
Based on my personal experiences as well as conversations with ex-pats, locals, sailors & surfers. I have never felt in danger anywhere I have traveled in Mexico.
It's no more & no less dangerous than many large US cities and certain Caribbean areas. It seems to me that US media outlets seem to play up violence and crime in Mexico while ignoring homegrown troubles. Mexico has a lower overall crime & murder rate than USA... Hmmm
Of course, those stats are different if your in the cartel business
I've been commuter cruising since November in the Sea of Cortez. Previously, I had/have visited Mexico for surfing (Baja and mainland) 5 to 10 times yearly for the past several years. I have never felt in danger anywhere i have traveled in Mexico.
Don't let the spectacular coverage of a few isolated incidents deter you from cruising and enjoying Mexico.