You can do whatever you want. It's your logbook, after all. As long as it's clear where you've been, it doesn't matter - so if you want to put the ICAO designator in the From/To, and the name in the comments, that's fine. (But what would you do at a farm-strip that doesn't have an ICAO code?)
Personally, I try to squeeze them both into the From/To box, although that needs some fairly small hand-writing for some airfields.
FFF
-----------