I've not tested this yet but this one possible partial solution could be to
1 set up a gmail account (which is IMAP)
2 add this gmail account to mac mail
3 in mac mail go to your comcast mail inbox
4 block select some messages (click on one, scroll down a bit then hold Shift key and click on another one to select them as a bunch) They'll now all be highlighted in blue.
5 rightclick on the selected messages and chose the 'Copy to' option from the menu that appears
6 in the 'Copy to' submenu choose the Google mailbox
that'll copy them from your comcast inbox to the gmail inbox in Mac Mail, and as the Gmail inbox is IMAP a copy will go up to the Gmail mail server (which will then make them available on any device you set Gmail up on, rather than just stuck locally on the mail folder of one mac)
downsides:
1 if you try to reply to any of them you'll be replying from the Gmail account, so may only be suitable for archive purposes
2 you'll have a split between bundle of stuff archived on Gmail and future stuff sat on Comcast (unless you repeat that process every month or so, or set Gmail up to retrieve copies of any future Comcast mail)
3 You'll need to add the Gmail mail account on to any device you want to access them on
Warning
looks to work OK at my end, has taken all the mail I threw at it retained original dates attachments etc, but I've not tested it fully yet
(I copied couple of hundred emails over in one go, and everything looks to have gone over ok but I've still to check n see if there's anything missing in a full side by side compare)
If you do decide to give it a try I'd stick with selecting couple of hundred at a time to do the 'Copy to' rather than select every single message and throwing them over in a single dump. Less chance of the Mail app or the Gmail server chocking on them, and easier to pick up from where you left off again if it does.
Oh and remember to use the right click menu's Copy To option - if you just drag n drop a bundle of selected emails from one inbox to the other it'll do a move rather than a copy (which could end up getting messy)