Your request has the 'look and feel' of homework? To merely read data and store to an array does not serve any purpose. Please explain what you are trying to do.
> cat file25
# disregard this data
aaa choice_a
bbb choice_b
ccc choice_C
ddd choice_d
# forget this line
eee choice_e
> cat play25.sh
awk '
{
if ($1!="#")
{
# print $0
opt[$1]=$1
choice[$1]=$2
}
}
END {
for (i in opt)
print "Option="opt" and value ="choice
}
' file25
> play25.sh
Option=aaa and value =choice_a
Option=ccc and value =choice_C
Option=eee and value =choice_e
Option=bbb and value =choice_b
Option=ddd and value =choice_d