I'm sure it's fine for knives. I would not use it for a razor.
You are much better off buying somethign known good for razors, like a 4/8k Norton.