Is there even room on a whiteboard to write comments and tests? Often there's barely even room to write readable code ...
If you're writing in a shared text editor then sure.
And isn't all the talking you do already commemts enough?
Edit: I'm bad at reading comprehension on a mobile screen. The tests and comments bit is in a different section.