I have been stopped, at least twice in California where I live, with pocket knives on me. they search people fairly readily, and the fact that I was carrying a knife came out both times. in both instances they weren't happy about it, but they gave them back.
I wouldn't carry anything over 3 1/2 inches although you might be able to get away with more.
I usually carry concealed, plan untucked shirt. but visible would probably be better.
The laws are kind of strange, and almost anything can be considered a gravity knife. being able to be open with a flick of the wrist. so there is a lot of ambiguity.
If you are stopped, you may be asked if you have a weapon. if you say yes I have a knife. things will not go well it least it will be handing them a good excuse to get away from you.
you should take the time to say no, I do have a little pocket knife here, obviously let them take it, they will almost certainly get the back.