Merging files to create CSV file

Hi,

I have different files of the same type, as:

Time:
100
snr: 
88
perf:
10
other:
222

Each of these files are created periodically.

What I need to do is to merge all of them into one but having the following form:

Time:
100, 110, 120, 130....................
snr: 
88, 90, 87, ...........................
perf:
10, 11, 14, ......................
other:
222, 221, 219, .................. and so on....

Is this possible using a bash script?

Thank you.

awk '
/: *$/ { field = $1; next}
{
 if ( v[field] ) v[field] = v[field] ", " $1
 else v[field] = $1
}

END {
  print "Time:"
  print v["Time:"]
  print "snr:"
  print v["snr:"]
  print "perf:"
  print v["perf:"]
  print "other:"
  print v["other:"]
}' file1 file2 file3 ...

Could you explain that sir...
My bash scripting is not that advanced.

Thank you.