He 'walks a/the razor edge' [='walks a/the fine line'] between humor and bad taste in his comedy.
It was a 'razor-thin' victory. [=a victory that was won by a very small margin or amount]
He's a thrill-seeker who likes living 'on the razor's edge'.