Didn't know you could write MIDI instructions directly into ABC.
You can't.
Semantically the "MIDI instructions" are pseudo-comments. Anything starting with "%" is a comment in ABC so is ignored as far as the ABC processor itself is concerned, but there are several extensions to ABC that work by embedding special commands after "%%", including text directives and MIDI commands.
abc standard version 2.1 (Dec 2011):
«
1.4 Abc extensions
Since the abc notation system was originally written, a large number of abc software packages (programs which: produce printed sheet music; play or create audio files, usually MIDI; search or organise tune databases; or that analyse or manipulate tunes in some way) have been developed.
»
MIDI-handling is not part of the abc notation system. The software package the OP seems to use may cope with the MIDI instructions, but that is something different. The abc notation system does not even play a "chord accompaniment" as the OP seems to claim in his first posting.