Often when I am reviewing code on Code Review I focus on readability of code, SRP, testing and things of that nature. For example, as I am writing an answer, I point out bad variable, function and/or class names and suggest (better) alternatives. I clearly state why bad names are bad in general and why I suggested the alternatives.
After going through a bunch of critique points I sometimes end up putting up a rewrite of the original code near the bottom of my answer. I usually only do this if the original question did not contain too much code. See this example.
I clearly do not give a "code only" answer with no explanation at all. I tend to give very thorough answers and always try to explain myself as best I can.
Is it acceptable to provide fully rewritten code in the answer of a Code Review question?