Jonathan Martin just cut a deal with L.A. prosecutors ... and, now, the ex-NFL O-lineman could get out of his gun and knife threats case without spending more time behind bars.
Martin -- who famously alleged he was bullied by ex-teammate Richie Incognito during their playing days with the Dolphins -- made some scary comments on social media that led to his arrest in 2018.
In an Instagram post, Martin threw up a picture of a shotgun with shells ... and wrote, "When you're a bully victim & a coward your options are suicide, or revenge.