As far as I know default Door/Window Markers do not offer this functionality.
You would probably have to script the 2D Script of the Marker object.
But it would be a great functionality.
I actually created a wish about this, guys please vote on it if you think this would be useful:
http://archicad-talk.graphisoft.com/viewtopic.php?t=45680
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28