2 different Wifi in configuration?

describe my current situation: I would like to use my OctoPrint configuration in my workplace and bring it home. Easy to plug and play with a different network.

May I use 2 different Wifi connection on /boot/octopi-wpa-supplicant.txt ? Will it detect automatically?

Or I have to pick only one connection? If so will it work, use the unused Wifi with hash #

Just copy and add more network blocks, it will pick which ever one it can.