I would use a duplet for this. If it we notated the groove in 12/8, this would be the standard notation:
X:1
L:1/8
M:12/8
K:C
%%score T1
V:T1 clef=treble
% 1
[V:T1] C2 D E2 F (2GA B2 (c | c4)
...which is actually nothing else but
X:1
L:1/8
M:12/8
K:C
%%score T1
V:T1 clef=treble
% 1
[V:T1] C2 D E2 F G3/2A3/2 B2 (c | c4)
By extension, I think it would be understood what's meant if you write
X:1
L:1/8
M:4/4
K:C
Q:"Swing"
%%score T1
V:T1 clef=treble
% 1
[V:T1] CD EF (2GA B(c | c4)
I'm not sure if that's actually what you were asking about though. If you actually mean
X:1
L:1/8
M:12/8
K:C
%%score T1
V:T1 clef=treble
% 1
[V:T1] C2 D E2 F G zA B2 (c | c4)
then this would probably best be expressed simply with a staccato mark:
X:1
L:1/8
M:4/4
K:C
Q:"Swing"
%%score T1
V:T1 clef=treble
% 1
[V:T1] CD EF .GA B(c | c4)