Under he Second Amendment, I don’t see how a state could prohibit a knife.
Gray was a convicted felon, so his RKBA rights were greatly circumscribed.