This is especially helpful when dealing with engine covers that require different length bolts in different places , but all are of the same scale. So on our bikes you might have 4 different length m6 fasteners in the same cover.
And its especially useful if there is gonna be a time gap between disassembly and reassembly.
Here's what I do:
Take a color photo.
Print it.
Tape it to a piece of cardboard.
Punch thin holes through each pictured fastener. Then push the bolt thru the tight hole and let it bind in there. When you are done, tape another piece of cardboard tightly over the bolt heads so they stay put while stored. No guessing later.
I also use this technique when replacing crapped up old fasteners (like the inevitably awful JIS cross head screws). Faster than measuring each bolt, I have a stock of m6 and m8 socket head cap screws on hand. I match em up one to one with the old bolts as I pull em out. Honda uses a lot of odd sizes you can't buy (I.E. m6x32) so in these cases I will try the next longer one or cut the one I have to the proper length, and then when I am sure it will be good to go, I place it where it goes in the printed picture. It makes assembly quick and near brainless -- it goes together like a kit later.